/*
 * @Description: ...
 * @Author: yangli 121029539@qq.com
 * @Date: 2025-01-18 09:20:44
 * @LastEditTime: 2025-01-20 15:15:15
 * @LastEditors: yangli 121029539@qq.com
 * @FilePath: \pc\nuxt.config.ts
 */
// https://v3.nuxtjs.org/api/configuration/nuxt.config

import postcssConfig from "./utils/postcssConfig"
import { getEnvConfig } from './nuxt/env'
const envConfig = getEnvConfig()
export default defineNuxtConfig({
    // 配置 PostCSS
    postcss: postcssConfig,
    css: ['@/assets/styles/index.scss'],
    modules: ['@pinia/nuxt', '@nuxtjs/tailwindcss', '@element-plus/nuxt'],
    app: {
        baseURL: envConfig.baseUrl
    },
    runtimeConfig: {
        public: {
            ...envConfig
        }
    },
    ssr: !!envConfig.ssr,
    experimental: { appManifest: false },
    
})
